package edu.hwadee.BEIS.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import edu.hwadee.BEIS.entity.Certificate;

public interface CertificateRepository extends JpaRepository<Certificate, Integer> {

	/**
	 * 通过凭证code获得凭证
	 * 
	 * @param code
	 * @return
	 */
	public Certificate findOneByCode(String code);
}
